package com.gzx.plugin.tjzy.modular.phone.filter.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gzx.plugin.tjzy.modular.phone.filter.entity.GzxPhoneFilter;
import com.gzx.plugin.tjzy.modular.phone.filter.entity.bo.GzxPhoneFilterAddBo;
import com.gzx.plugin.tjzy.modular.phone.filter.entity.bo.GzxPhoneFilterQueryBo;
import com.gzx.plugin.tjzy.modular.phone.filter.entity.vo.GzxPhoneFilterVo;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * @author zjt
 * @description
 * @since 2025/3/4 11:56
 */
public interface GzxPhoneFilterService {

    /**
     * 分页查询
     *
     * @param filterPhoneQueryBo
     * @return
     */
    Page<GzxPhoneFilterVo> pageList(GzxPhoneFilterQueryBo filterPhoneQueryBo);

    /**
     * Excel导入
     *
     * @param projectCode
     * @param file
     */
    void importExcel(String projectCode, MultipartFile file);

    /**
     * 新增或者修改
     *
     * @param filterPhoneAddBo
     */
    void add(GzxPhoneFilterAddBo filterPhoneAddBo);

    /**
     * 删除
     *
     * @param id
     */
    void delete(Long id);

    List<GzxPhoneFilter> selectList(LambdaQueryWrapper<GzxPhoneFilter> queryWrapper);
}
